<!DOCTYPE html>
<html lang="zh-CN">
<head>
	<meta name="viewport" content="width=device-width,initial-scale=1" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta charset="UTF-8">
    <title>登录</title>
    <link rel="stylesheet" href="../static/css/bootstrap.css"/>
    <link rel="stylesheet" href="../static/css/common.css" />
</head>
<body>
	<div class="container-fluid bgColor"> 
		<div class="login_main">
			<p class="login_title">欢迎访问智诚众和信息平台</p>
			<div style="padding:25px;padding-bottom:10px">
				<form class="form-horizontal" action="v1.0/login"  method="post">
                    <input type="hidden" name="csrf_token" value="{{ token }}">
				  <div class="form-group">
				    <label for="userName" class="col-sm-3 control-label">用户名</label>
				    <div class="col-sm-9">
				      <input type="text" class="form-control" id="userName" name="userName" placeholder="用户名">
				    </div>

				  </div>
				  <div class="form-group">
				    <label for="userPwd" class="col-sm-3 control-label">密码</label>
				    <div class="col-sm-9">
				      <input type="password" class="form-control" id="userPwd" name="userPwd" placeholder="密码">
				    </div>
				  </div>
				  <div class="form-group">

				    <div style="margin:0 auto;width:80px;padding-top:10px">
                         {% for msg in get_flashed_messages() %}
                             <p> {{ msg }}</p>
                         {% endfor %}
                        <button type="submit" class="btn btn-primary" style="width:80px">登录</button><br><br>
{#                        <a href="/v1.0/register"><button type="button" class="btn btn-primary" style="width:80px">注册</button></a>#}
				    </div>
				  </div>
				</form>

			</div>			
		</div>
	</div>
</body>
</html>